<template>
  <div class="detail">
    <h1>Detail</h1>
    <p>id:{{ id }}</p>
    <p>msg:{{ msg }}</p>
  </div>
</template>

<script>
export default {
  props: ["id", "msg"],
  mounted() {
    console.log("detail mounted", this);
    console.log(this.$route.params);
  },
};
</script>
